---
title: convertHangulToQwerty
---

import { Sandpack } from '@/components/Sandpack';

# convertHangulToQwerty

Converts Korean characters into English alphabets corresponding to the QWERTY keyboard layout.

```typescript
function convertHangulToQwerty(word: string): string;
```

## Examples

```typescript
convertHangulToQwerty('뮻'); // 'abc'
convertHangulToQwerty('겨노'); // 'rush'
convertHangulToQwerty('님노'); // 'slash'
convertHangulToQwerty('RㅏㄱEㅜrl'); // 'RkrEnrl'
convertHangulToQwerty('ㅙㅜㅎ 햐ㅣ애ㅜㅎ'); // 'hong gildong'
convertHangulToQwerty('ㄴ대ㅕㅣ, ㅏㅐㄱㄷㅁ'); // 'seoul, korea'
```

## Demo

<br />

<Sandpack>

```ts index.ts
import { convertHangulToQwerty } from 'es-hangul';

console.log(convertHangulToQwerty('뮻'));
console.log(convertHangulToQwerty('겨노'));
console.log(convertHangulToQwerty('님노'));
console.log(convertHangulToQwerty('RㅏㄱEㅜrl'));
console.log(convertHangulToQwerty('ㅙㅜㅎ 햐ㅣ애ㅜㅎ'));
console.log(convertHangulToQwerty('ㄴ대ㅕㅣ, ㅏㅐㄱㄷㅁ'));
```

</Sandpack>
